package com.spic.business.alarm.service.impl;

import com.spic.business.alarm.domain.FireAlarm;
import com.spic.business.alarm.mapper.FireAlarmServiceMapper;
import com.spic.business.alarm.service.FireAlarmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 290512
 * @create 2022-05-26 15:55
 */
@Service
public class FireAlarmServiceImpl implements FireAlarmService
{
    @Autowired
    private FireAlarmServiceMapper fireAlarmServiceMapper;

    @Override
    public List<FireAlarm> selectFireAlarmList1(FireAlarm fireAlarm)
    {
        return fireAlarmServiceMapper.selectFireAlarmList1(fireAlarm);
    }

    @Override
    public List<FireAlarm> selectFireAlarmList2(FireAlarm fireAlarm)
    {
        return fireAlarmServiceMapper.selectFireAlarmList2(fireAlarm);
    }



    @Override
    public FireAlarm selectFireAlarmById(Long id)
    {
        FireAlarm fireAlarm = fireAlarmServiceMapper.selectFireAlarmById(id);
        return fireAlarm;
    }
}
